package com.imooc.demo.service;

import com.imooc.demo.entity.Worker;

public interface WorkerService {
    Worker getWorker(String openId);
    boolean insertWorker(Worker worker);
    boolean updateWorker(Worker worker);
    boolean deleteWorker(Worker worker);
    boolean updateScore(Worker worker);
    Worker getWorkerById(Integer id);
    boolean updateScoreById(Worker worker);
}
